package com.sfeir.poc.portal.gui.client.widgets;

/**
 * Simple Widget that includes a Google Map into an iframe
 * @author bostoen.v
 *
 */
public class GoogleMapWidget extends SimpleHTMLWidget {

	public GoogleMapWidget(String url) {
		super(url);
	}

	protected String getHtml(String url) {
		return "<iframe width=\"100%\" height=\"300\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"" + url +"\"></iframe><br /><small><a href=\"" + url + "\" target=\"_blank\" style=\"color:#0000FF;text-align:left\">Agrandir le plan</a></small>";
	}
}
